import request from "@/utils/request";

export const getCategoryAPI = function () {
  return request.get('home/category/head')
} 

// 使用匿名函数简写
// export const getCategoryAPI = () => {
//   return request.get('home/category/head')
// }